/**
 * Copyright (C) 2025 pony working team
 * SPDX-License-Identifier: MulanPSL-2.0
 */

/* includes (local) ----------------------------------------------------------*/
#include <a_if.h>
/* includes (standard library, system) ---------------------------------------*/
#include <string.h>
/* includes (other library) --------------------------------------------------*/
/* includes (project) --------------------------------------------------------*/

/* defines -------------------------------------------------------------------*/
/* typedefs ------------------------------------------------------------------*/
/* macro ---------------------------------------------------------------------*/
/* variables (extern) --------------------------------------------------------*/
/* variables (global) --------------------------------------------------------*/
/* variables (local) ---------------------------------------------------------*/
/* inlines -------------------------------------------------------------------*/
/* functions -----------------------------------------------------------------*/

void sched_start(void)
{
    return;
}
int schedule(int ra)
{
    return 0;
}

int mem_try_arch(void *dst, void *src, int order)
{
    memcpy(dst, src, (1 << order));
    return 0;
}
void cpu_idle_enter(void)
{
    return;
}

int critical_exec_on_csp(int (*job)(uintptr_t, uintptr_t), uintptr_t arg1, uintptr_t arg2)
{
    return 0;
}
